package com.ruoyi.business.mapper;

import com.ruoyi.business.domain.CivilServants;
import com.ruoyi.business.domain.CivilServantsList;
import com.ruoyi.business.domain.vo.ResumeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CivilServantsMapper {
    int save(CivilServants cachedDataList);

    List<CivilServants> list();

    List<CivilServants> list2(@Param("userId")Long userId,@Param("name")String name);
    List<CivilServants> list(@Param("userId")Long userId);

    int delete(Long id);

    int update(CivilServants civilServants);

    CivilServants getResume(@Param("id") Long id);

    int sum(@Param("userId")Long userId);
    int sum();

}
